<?php

/**
 * main-local.php
 *
 * Set this file to write your local development settings. Settings will be merged with the main-env.php file, and the
 * results of the merge into main.php.
 */
return array(
    'modules' => array(
        'gii' => array(
            'class' => 'system.gii.GiiModule',
            'password' => false,
        ),
        //enable login with social provider
        'hybridauth' => array(
            'class' => 'application.modules.hybridauth.HybridauthModule',
            'baseUrl' => FRONT_SITE_URL . 'hybridauth',
            'withYiiUser' => true, // Set to true if using yii-user
            "providers" => array(
                "facebook" => array(
                    "enabled" => true,
                    "keys" => array("id" => "160852060774255", "secret" => "697e459c26c5f28536c492868d1f7d5d"),
                    "scope" => "email",
                    "display" => ""
                ), //https://developers.facebook.com/apps/160852060774255/summary?ref=nav
                "twitter" => array(
                    "enabled" => true,
                    "keys" => array("key" => "HR6T2E6qICU79O5q7d4lw", "secret" => "Y1gS0OVzlCOt51MSFeV4UOVMXt6uR7K1EqfeeRpg")
                ), //https://dev.twitter.com/apps/4918152/show
                "google" => array(
                    "enabled" => true,
                    "keys" => array("id" => "727021900609.apps.googleusercontent.com", "secret" => "-waFr-rMBHM9TdmWh1HhTD8t"),
                    "scope" => "https://www.googleapis.com/auth/userinfo.profile " .
                    "https://www.googleapis.com/auth/userinfo.email"
                ), //https://code.google.com/apis/console/#project:727021900609:access
                "linkedin" => array(
                    "enabled" => true,
                    "keys" => array("key" => "3oqzeehge4u9", "secret" => "vIiMpVL6CkRvNnp6")
                ), //https://www.linkedin.com/secure/developer?showinfo=&app_id=3128671&acc_id=1639231&compnay_name=HoanVuSolution&app_name=HoanVuSolution
            ),
        )
    ),
);